package com.sun.clients.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 应用配置参数
 */
@Data
@Configuration
public class AppProperty {

    // 消费topics多个以逗号隔开
    @Value("${consumer.kafka.topics}")
    private String topics;

    // 线程成等待终止时间 单位：秒
    @Value("${thread.pool.await-termination-time}")
    private Long awaitTerminationTime;

}
